package com.molyfun.parents.rest.bean;

import com.molyfun.parents.rest.BaseListResponse;

import java.util.List;

/**
 * Created by william(liuchao.hit@gmail.com).
 * Date:3/1/17.
 */

public class UserProductListResponse extends BaseListResponse<UserProductListResponse.ProductBean>{

    public static class ProductBean{

        /**
         * id : 3647e067ed664bdc82a0282f0d89093a
         * productid : 4028b8815a3b16c8015a3b1800c60002
         * name : 体感套餐1
         * begindatetime : 1488260563000
         * productitemlist : [{"id":"589ce9d4c4f24de28cb3165c9e59d0e5","name":"体感套餐服务项1","begindatetime":1488260563000,"times":10},{"id":"ff270d26c11340049115bb72a5f3cc8f","name":"体感套餐服务项3","begindatetime":1488260563000,"times":30}]
         */

        private String id;
        private String name;
        private String productid;
        private long begindatetime;
        private long enddatetime;
        private int num;
        private String departname;
        private String studentremarkname;
        private String departid;
        private List<ProductitemlistBean> productitemlist;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getProductid() {
            return productid;
        }

        public void setProductid(String productid) {
            this.productid = productid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public long getBegindatetime() {
            return begindatetime;
        }

        public void setBegindatetime(long begindatetime) {
            this.begindatetime = begindatetime;
        }

        public List<ProductitemlistBean> getProductitemlist() {
            return productitemlist;
        }

        public void setProductitemlist(List<ProductitemlistBean> productitemlist) {
            this.productitemlist = productitemlist;
        }

        public long getEnddatetime() {
            return enddatetime;
        }

        public void setEnddatetime(long enddatetime) {
            this.enddatetime = enddatetime;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getDepartname() {
            return departname;
        }

        public void setDepartname(String departname) {
            this.departname = departname;
        }

        public String getDepartid() {
            return departid;
        }

        public void setDepartid(String departid) {
            this.departid = departid;
        }

        public String getStudentremarkname() {
            return studentremarkname;
        }

        public void setStudentremarkname(String studentremarkname) {
            this.studentremarkname = studentremarkname;
        }

        public static class ProductitemlistBean {
            /**
             * id : 589ce9d4c4f24de28cb3165c9e59d0e5
             * name : 体感套餐服务项1
             * begindatetime : 1488260563000
             * times : 10
             */

            private String id;
            private String name;
            private long createdatetime;
            private int times;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public long getCreatedatetime() {
                return createdatetime;
            }

            public void setCreatedatetime(long createdatetime) {
                this.createdatetime = createdatetime;
            }

            public int getTimes() {
                return times;
            }

            public void setTimes(int times) {
                this.times = times;
            }
        }
    }

}
